<div class="page-content" >
             
    <div class="panel panel-default">
	 <div class="panel-heading">线下选座</div>
        <div class="panel-body">
            <div id="toolbar" style="width: 100%;">
                <form id="filter" method="get"  class="form-horizontal">
                    <div class="form-group">
                        <div class="col-sm-3">
                            <input type="text" name="kw"  value="<{$kw}>" class="form-control" placeholder="手机号，用户名">
                        </div>
				
						<div class="col-sm-3" style="width:auto">
                            <select name="province_id" class="combox input-medium" target="sectionselect" refurl="<{:U('School/get_ajax_school_sel')}>?province_id={value}" >
							<option value="0">全部省份</option>
							<volist name="province_list" id="vo">
							<option <if condition="$vo['id'] eq $province_id">selected="selected"</if> value="<{$vo.id}>"><{$vo.name}></option>
							</volist>
							</select>
                        
                           <select name="school_id" class="combox" id="sectionselect" target="classroomsselect" refurl="<{:U('School/get_ajax_classrooms_sel')}>?subjectid=<{$subjectid}>&school_id={value}">
							<option value="0">全部学校</option>
							<volist name="schools_list" id="vo">
							<option <if condition="$vo['id'] eq $school_id">selected="selected"</if> value="<{$vo.id}>"><{$vo.name}></option>
							</volist>
							</select>
							<select class="nobd" name="classrooms_id" id="classroomsselect">
					 			<option value="0">请选择</option>
							</select>
                        </div>
						 <div class="col-sm-2">
                            <input type="submit" class="btn btn-primary pull-right" value="筛选">
                        </div>
                    </div>
                     
                </form>
            </div>
            <div class="bootstrap-table"> <div class="fixed-table-container" style="padding-bottom: 0px;"> <div class="fixed-table-body"> 
			<table id="data-table" class="table"><thead>
			<tr>
			 
			<th style="" data-field="id"><div class="th-inner sortable both desc">ID</div><div class="fht-cell"></div></th>
				<th style="" data-field="name"><div class="th-inner ">qq</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">姓名</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">机房名称</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">课程</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">学校</div><div class="fht-cell"></div></th> 
			<!--<th style="" data-field="created_at"><div class="th-inner ">省份</div><div class="fht-cell"></div></th>-->
			<th style="" data-field="created_at"><div class="th-inner ">预约时间</div><div class="fht-cell"></div></th>
			<th style="" data-field="created_at"><div class="th-inner ">提交时间</div><div class="fht-cell"></div></th>
			<th style="" data-field="id"><div class="th-inner ">操作</div><div class="fht-cell"></div></th>
			</tr></thead>
			<tbody>
			<volist name="data" id="vo">
			<tr data-index="0">
			<td style=""><{$vo.id}></td>
			<td style=""><{$vo.qq}></td>
			<td style=""><{$vo.real_name}></td>
			<td style=""><{$vo.name}></td>
			<td style=""><{$vo.offline_subject_name}></td>
			<td style=""><{$vo.school_name}></td>
			<!--<td style=""><{$vo.area.name}></td>-->
			<td style=""><{$vo.info}></td>
			<td style=""><{$vo.add_time}></td>
			 
			<td style="">
			 <a href="<php>echo AdminUrl;</php><{:U('Member/index',array('user_id'=>$vo['user_id']))}>" class="btn btn-primary btn-xs delete-this">查看用户</a>
			<!--<a href="<{:U('School/add_classroom',array('id'=>$vo['id']))}>" class="btn btn-primary btn-xs">查看详细</a> -->
			
			 
			</td>
			</tr>
			</volist>
			</tbody></table>
			 </div> 
			  <include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" />
			
			</div></div><div class="clearfix"></div>
        </div>
    </div>
     

        </div>
     

<script>
<if condition="$school_id">
$.get("<{:U('School/get_ajax_classrooms_sel')}>?school_id=<{$school_id}>&class_id=<{$classrooms_id}>",function(data){
	$("#classroomsselect").html(data);
	})
</if>
</script>
 